Meaning of the word "discretion is the better part of valor" in English

What does "discretion is the better part of valor" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

discretion is the better part of valor

US /dɪˈskreʃ.ən ɪz ðə ˈbet̬.ɚ pɑːrt əv ˈvæl.ɚ/
UK /dɪˈskreʃ.ən ɪz ðə ˈbet.ə pɑːt əv ˈvæl.ə/
"discretion is the better part of valor" picture

Idiom

it is often wiser to avoid a dangerous or difficult situation than to confront it

Example:
I decided not to argue with the angry customer, thinking that discretion is the better part of valor.
He chose to walk away from the fight, knowing that discretion is the better part of valor.